package cn.hyh.core.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @auther :hyh
 * @desc :   文章内容
 * @date :2019/7/21
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@TableName(value = "tb_content")
public class Content {

    @TableId(type = IdType.AUTO)
    private Integer id;
    private int labelId;
    private String indexImg; //首页图片
    private String description; //描述
    private String title;  //标题
    private String content; //类容
    private Date createTime; //创建时间
}
